package com.multiplication;

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入一个2到20的正整数：");
        int number = sc.nextInt();
        System.out.println("乘法表如下：");

        for(int i=1; i<=10; i++) {
            System.out.println(i + " x " + number + " = " + (number*i));
        }
    }
}
